<div class="bg-light lter b-b wrapper-md">
      <div class="row">
        <div class="col-sm-12">
          <h1 class="m-n font-thin h3 text-black"><i class="icon icon-bag"></i>&nbsp;报名卡申报</h1>
        </div>
        
        
      </div>
    </div>
<div class="wrapper" >
    <form class="form-horizontal col-sm-6 col-sm-offset-3" name="form" ng-submit="create()">
        <div class="panel panel-default no-border" cg-busy="{promise:loading,message:'正在加载...'}">
            <div class="panel-body">
                <div class="form-group">
                    <label for="" class="col-sm-3 control-label">人数</label>
                    <div class="col-sm-6">
                        <input type="number" min="1" max="999" ng-model="sc.totalCount" class="form-control" required />
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-3 control-label">考试类型</label>
                    <div class="col-sm-6">
                        <select class="form-control" name="examtype" ng-change="loadSubjects()" ng-model="sc.examTypeId"  required>
                        <option ng-value="item.id" ng-repeat="item in examTypes" >{{item.name}}</option>
                                </select>
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-3 control-label">科类</label>
                    <div class="col-sm-6">
                        <select class="form-control" name="subject"  ng-model="sc.subjectId" required>
                        	<option ng-value="item.id" ng-repeat="item in subjects" >{{item.name}}</option>
                                </select>
                    </div>
                </div>

                <div class="form-group">
                    <label for="" class="col-sm-3 control-label">届别</label>
                    <div class="col-sm-6">
                        <select class="form-control" name="subject"  ng-model="sc.periodType" >
                        	<option value="CURRENT">应届</option>
                        	<option value="PREVIOUS">往届</option>
                                </select>
                    </div>
                </div>
            </div>
            <div class="panel-footer text-center">
            <button class="btn btn-primary btn-lg" ng-disabled="form.$invalid" >生成</button>
            </div>
        </div>
    </form>
</div>
